Just had to implement a small buffer capture function, or two