The paper discusses enhancements to the AODV routing protocol to eliminate black hole attacks in Mobile Ad Hoc Networks (MANETs). It introduces a detection and prevention mechanism using two new tables to identify malicious nodes and send alarm packets network-wide upon detection. The proposed algorithm improves security by maintaining a record of received route replies and comparing sequence numbers to detect and isolate attackers, thus ensuring reliable communication in the network.