bring in more internal.c functions