made a level class