insertion with times with library
