implemented cnntiguous global labels