Still working on the ai controller.