added some comments to utils