Correct location for getValueFromData()