break up tri.h