Prepare for polling