expanded API buffer size to 2048