Typos fixed as well as incorrectly commented function name