adding lines to .c and .h files