passing db to import