rewriting some of the harder to read parts

rewriting some of the harder to read parts -- hopefully most of the same meaning is there.