minor channges to comments in the class file and pre function display in example