Moved something to a variable

Because it was ugly. Again, look at me being a contributor yo