basic refractor with rubocop