Working on the populateDatabase()