doing what code climate tells me to do