finished the min max page