added ability to set variables in predicaments