works if you ctrl-c