END_SEGMENT tweaking