unnnecessary ternary