adds glue, glue2, rectangles, segments