adding the USR1 signal to the handler