Adding additional comments to code to make it understandable