filtering out p2