put if-condition on one line