-db flag added