getPrivateData now returns array of data