routes and time methods created