max and min are correct