doubled syncFrames variable