changed addParticles(Particle P)