Refactor per code climate's suggestions