realtime bar depletion working