helper c files