Gets the two templates to work together