add Degree and adjacent