added video sync