add second condition branch