start scale refactor