added a datepicker for events