added labels and titles to graphs