Changed oscillation example