remove this from internal.h