exercise3.rb - now returns name