Adding a new demo2 that covers the case of perturbation