added db reset method.