got polling to work