DRYed up t_id