rewrite the method writeDataSetContent()