wrote some of the .c files