done with inline template example