remove ternary conditional for clarity