modified add AICore