first attempt at ruby3 ex2