added documentation and other changes