added new template and definition