fixed and tweaked functions doc
new not and some improvements
generated doc
removed unused code