num12 completed, but horribly inefficient