new debugging stuff for generating a tracking statement