giving shape to template video