new pap full code and resources