This document presents an improvement to the LEACH clustering protocol for wireless sensor networks. It proposes selecting cluster heads based on a threshold of residual node energy rather than randomly as in LEACH. This reduces cluster head selection and replacement, extending network lifetime. It simulates LEACH-B and the proposed approach, finding the proposed method lasts longer - until round 1905 when the last node dies, compared to 1521 rounds for LEACH-B. This improvement balances energy consumption across nodes for longer network operation.