c headers and files for custom functions