cmd_class is not quite right