For adding templates