Changed AIs to be a enumeration datatype