refactoring class (mld)