put if in if/else