Populating database.