It's only called once so it doesn't have to be its own function. I just thought it made the code more readable