fixing rubocop errors #9