added c stuff.