-added code for poll responding

Working code for poll response.