adding @the reference on the templates