Added usable, min max code