Added comments about the code.