deleting bad C code