Implemented time handler