so it doesn't look like it is handling the buffer properly