hardcode large buffer size, less than ideal :/