Changed function getProfiles to getReferenceData