Example for signal handler