add vars in the template