Added a new function of connecting adjacent unconnected module