subst function
subst2 function
multimember function