Added populateRecords