- added documentation
- minor changes