clock was changed from DateTime to Time, to work with mongodb