adding debug print to rtdp