added a level class