Added gh utility function