updated documentation,  still work in progress.