added labels to graphs