added docs for polling