fixing DeadReferenceError issue

making the run def return the object and fixing the example to show the
special knowledge.