please give code examples with the presentation