timed polling now works