I think you copy the connectivity object line 44.