basic implentmentation of level class