Hmm, yes, but on_c will also be executed when prssing alt+c. Also, usually you have to hold alt first and then press c for executing the function, yours also allowes first pressing c and then pressing alt.