const BUF_CAPACITY: usize = 1024;