removed function declaration of signal handler