Changind code for task pprimes