g in subst