Min Max Functionality with Categories