first attempt at ruby3 ex6