creating templates for validation.