Added time

Added time to controller