added ctrl+c signal and beep