pseudocoded
initial solution
refactored
reflected