another bugfix
added documentation