trying to do the database-creation inline