first stab at tsirt phase. still need to figure out how to handle inconsistent data. #154