first attempt at ruby2 ex9