Markets took a breather after a sharp fall yesterday and managed to gain nearly a percent amid volatility on Tuesday. The benchmark indices started on optimistic note, following upbeat global cues and remained range-bound thereafter. Despite apprehensions about impact on volumes due to the new margin system that kickstarted on Tuesday, Indian markets ended higher on expectations of stimulus package by government as GDP in June quarter contracted more than estimated.  The BSE Sensex ended at 38,900.80, adding 272.51 points or 0.71%. The 50-share index Nifty closed at 11,470.25, up 82.75 points or 0.73%.