first attempt at ruby2 ex7