added comments to all domain specific functions used in GP