removed limit in db query for procedures
Reverted map to only 3 options and no sql