cleanups and prevent traceback
update eqn 3.4.2 graph to be more representative of what happens