fixed references in the example code