Adding comments to make base code more readable