put v-sync code with v-sync comment