merged templates