(feel free to do this with some of the other `if` statements in the code as well... it makes everything more readable especially when you go back later imo)