readded checkForZeros()