make Makefile
fix Makefile
use iterator