Fixed up AI and Data. left a couple comments where i was unsure of things