Fixed : getNumParticles doesn't exist, using numParticles instead