Pass dsfmt by pointer