Done with the Marking of the Segements when clicked