reworking text gutter code