removed unnecessary old code

old code in addProp functions has been updated