adding example code and changes to presentation