Added time functions
Time-enabled events