began testing refactored code