first attempt at ruby3 ex4