added search parameters for trait, min , and max