Change if-clause style