add ctrl-c intteruption