Added settings for min max