added enum PollStates