makes minor changes that should make it AI actually work --donuts