added document table to store documents
removed commented line