Balancing shortfalls and surplus