Last function in tbprobe.cpp