adding ListGraph