some ruby code