fixed AI kinda works now.