added filter to events