made comments and slight modifications to the code