Debugged eliminating 0s