Benchmark indices ended the session on August 5 on a flat note amid volatility. Sensex was up 89.13 points or 0.15% at 58387.93, and the Nifty added 15.50 points or 0.09% at 17397.50. UltraTech Cement, ICICI Bank and Bharti Airtel were the top gainers while Mahindra & Mahindra, Reliance Industries and Maruti Suzuki were the top losers. About 1807 shares have advanced, 1466 shares declined, and 144 shares are unchanged.