Fixed typo and added some comments