adding Control graph