Various things and changes introducing min-max