Commented some parts of the code.