Added some missing comments to explain myself.