created class 'level'