added basic functionalities to level 2