Got the auto-populate function working. Needs data.