creating utitly max min