adding filtering functionality for events