migrated tcb.h include to .c file