added support for ternary op / if-statement