correcting the errors and adding comments