some changes for AI