Add body in function time_handler