solved syntax issues
only compile error are caused by undefined references (must be include
problem)