Added a function to clear T2's buffer