adding function_time