Added a comments and fixed a typo.