database request now using a pool