refactored init poller