some changes in header and doc file. doc file added in index.rst