updated examples with new structure