adding graph labels