Added value attribute when adding new var