static const size_t buf_size 2048;