prior is minval for some reason