map and filter event model