removed all the Diff functionality, gimped classifyPhase, but Sean will fix that
added comment for clarity