for AI Class