BTB.cpp implemented