replacement scheme
BUF_SIZE  1024
Merge branch 'master'