build with makefile
beautify
more valid code