done: make sure source and sink are not directrly connected