Change to use getProp(), supports dynamic properties