Start of Template integration