Fixed function definition for perturbation