recompile demo