Lambda for responding to a poll