change makefile
modify buffer and array implement