modify getInstance method to be called without dbParams