got polling working