connected components now work, added/deleted comments