added code to debug with p2 score