merged turkey.h and turkey_internal.h