Text this: Distance and energy aware extended LEACH using secondary cluster head for wireless sensor networks