polling working, tests passing, need to write more tests