add nested each tc