Removed unnecessary line of code
Updated typos