3rd revision of the bob.rb