Context processor for balance