some comments on the code.