Update p6tac.cpp