major rewrite of the entire document