arbitrary many attributes can be attached to a segment with add_segement!()