made change influenced by code climate