Fixed AI field, moved to own file