added extension template example