Adding more comments to decipher vanilla code