add simple signal handler