minor bugfixes
updated implementation documention