added txdb tool