mltries refactoring part 13