added output for p3