improved performance for random ai