The ternary operator here is ok? Looks readable?