working on video sync