adding to ghfunctions