update typos and clarity in comments