Creating Functions

Working on breaking stuff up into functions. Hit a snap where one isn't
being called. I'm tired, so could be something stupid I'm missing