implemented AI attack