added rudimentary keyboard controls