Christer, Good point. The two versions are equivalent but yours avoids the variable lookups for values that we already know are zero anyway. Thanks