Added glue to generate subst