adding TWP output function
making the two stacking consist.