second attempt at ruby2 ex8