gibbot functions