Update to behaviour tree + added broken code