replacebranch works in condenser loop too