changes to add_time