improved syntax of extendProp