now you can specify min and max cufoff