update from sudar and change Makefile-example