--- a/doc/source/overview/plans.txt
+++ b/doc/source/overview/plans.txt
@@ -154,8 +154,8 @@
 
 The plan is created as a byproduct of proving_ the goal:
 
-    >>> import pyke
-    >>> engine = pyke.engine('examples')
+    >>> from pyke import knowledge_engine
+    >>> engine = knowledge_engine.engine('examples')
     >>> engine.activate('plan_example')
     >>> no_vars, plan1 = engine.prove_1('plan_example', 'transfer',
     ...                                 (('bruce', 'checking'),