also save the wave pattern if desired