for changing the wave shape