1.10 done
recursive vs iterative processes
moved helper procedure into main procedure