compiling sync