added a bind environment to poll