add method to poll