minpos cannot be 0 must be negative number