Adding labels to graph, fix for profile