add ternary operator support, attempt the 3-part for