Adding credit.c to the repository