Made pollInput() final