added cc db dump code