code samples for the presentation