if/else display groups commands