finally populated the database