first attempt at keyboard input