documentation and fix bugs found