ball fixes and AI infra