got the zeroes out of the array