initial pollset code