Trying to refactor this code and hit a wall. [resolved]

Printable View