added sine generator example