refactor code in level1 class