more ruby code