did some ruby practice