displaying availbility when sum=0

should be working right