perfect ruby 3-2-1