first attempt at ruby4 ex2