corrected definsd var