Changing segments is finished and works