this ternary operator is also redundant