Particle code compare