draw class name and ox