delete c code, too much effort