use sigaction function