start of class for input #22