Working version of i think in ruby...