make more ruby-ish