first attempt at ruby3 ex1