changed to Ruby