added zap generation for perturbation