the ternary operator is redundant here now