generation of signal