more intuitive syntax for if-expression