working on video timing+synchronization