tri struct