Adding segment to entities