include tid in the output