use named return values

just a little more concise