Worked on Inputmanager