small edits
fixed E(P) example and small changes