working on the tda report sproc