Combining the template