add method to time events