Riddled the code with comments