added doc tempalte for every function. Now need to deescribe each function