adding graph plot also