adding DB dump routine