Doing it that way is bad because it will go off the end of the buffer, I think. So we should really look at adding a substr.