The document discusses an improved scheme for the LEACH protocol in wireless sensor networks (WSN) that enhances cluster head (CH) selection using weighted parameters based on residual energy and distance from the base station. The proposed scheme aims to increase the network's lifetime and data transmission efficiency by providing a better threshold value for CH election, resulting in a notable 15-20% improvement in performance compared to traditional LEACH protocols. Simulation results further demonstrate that this method reduces energy consumption and increases the number of data bytes successfully received at the base station.