move container to template