made classes for min and max so we could work on them for individual parts