Added the time to the controller