changes from minimum to maximum for the second time