adding and fixing documentation