Text this: A novel methodology for optimum energy consumption in wireless sensor networks