Removed old C code