misc ruby practice