(Also, doesn't this leave lastgood pointing at a bad byte?)