added a partial AI