Add comments to code to explain what's going on