add a more convience constructor for Poller