Better bad digit detection
end of the night