fixing typos and polishing