a bit more ruby like