adding params to load_template