added demo for compilation difference