added toPatches for concrete version