Made a much better way of eliminating number errors