first attempt at ruby2 ex6