added sinewave example