events methods added for calendar