Added comments on issues with the code.