completting pollmgr codes