more idiomatic to use a let