Don't use static buffer, as it's not thread safe