Added comments and fixed typo
nidaahmad