Added function for ghq