Cut down lines with a ternary.
Use an interesting shortcut for join.