#JC-1690 Added the comments for the code.