added index-locating getters and setters
one more (getter, setter) pair for segments