in checkClass, added nomouse_command class