completed ex25 and working on ex26.rb