Refactoring from CodeClimate

Just messing around with CodeClimate, it told me to fix this