new minmax class
almost finished with successor class