fixed accidental cpp to a c file, added more to header