Made a couple recommended changes after having a coworker look at my code.