handle conditional expression