change the name of r->time to r->prev_request_time