added db tool.