using new framestart sync code