Updated minimization demo