added a few elements to exam.rb