adding value attribute