add more details and examples around data passing