implemented filtering events by category and date