Completes ex41.rb