added primitive keyboard controls