add an easy way to edit segments