multitries refactoring part 2