add cout branch statement