ran and cleaned up with rubocop