adding Segments