changes for optimizer after branching