populated the database