first attempt at ruby-Z ex3