my  ruby code