cleaned up gr-trellis