added keyboard input to cube