measure time to do database reset
removed unused functionality