add a variable to problem