Added Docs for functions