implmented graph labeling