getting more idiomatic