Added a comment in second part and fixed typo in first part