added headers for .c files