modified DBConnection