adding contents to doc and fixing typos.