add_time generalized