A wearable therapeutic device is provided. The wearable therapeutic device includes a garment and the garment includes an electrode and a conductive thread. A control unit is coupled to the conductive thread and identifies an electrical connection between a conductive surface of the electrode and the conductive thread and an alarm module can provide information about the positioning of the electrode in the garment based on the electrical connection.