added inline template example