subst, subst2 and multirember done