more documentation and a bugfix