REFACTOR rubocop