Refactor level1