added code to send signal to target.