- ternary operator now works properly