How about using a ternary operator for conciseness?