Added pollInput()
Backup commit