Replacing getDataItemValue with faster method