updated the wrapper for Particle