Added multiPlug code