this is running over the emits, not over the select condition.