updated reflection for refactoring challenge