Took solution to #7 from 6 seconds down to 400 milliseconds. Score!