checking to see if value property is modified