add reset to the buffer :|