Added oscillation in the x direction