added support for variables to store min, max, and pid range