connection modules connect function part of config