polling, state retrieval and display