partial rewrite of results. needs more work still to resolve some notes.