Make the example more idiomatic