added documentation.
Improved documentation.