write default poller, almost done.