added dp_var