more idiomatic conversion #3