finished the version 2 of the video synchroniser