RETURN TO SINEWAVE MAIN