added code sample from presentation