make solution #3 more concise