added vrf syncing function