adds pattern to the video section