added random perturbation of coordinates 2