adding event dispatcher to filter