Error in Trellis Diagram