Added minor comments to the house_keeping function.