mining algorithm looks done to me