connection should be local to the module