backend for polling