Tried some variations on the output buffer