Renamed getData to getLabeledData