Add comments to clerify the 849parentState method logic