modified group.rb