mutex control for data and video added