very basic signal handler example