working on the commection paths