hack impl of ghungry