This code currently has a divde by zero bug when you don't have any local deliveries. I need to fix this.