polling now works