attempting refactoring loop
tuesday work