using the keyboard class 1