ex39, aus states
unfinished ex41.rb