@mdboom - by the way, there may be simpler ways to do this, so if you can think of a way to refactor this that still passes all the tests, then please feel free to try it out!