preparing to draw waves and spectrum