pop db and graphs