in reply to timed ^C executing
Feel free to ask for assistance with debugging the code if you've actually written some.
HTH, Joost.