added member variables to Particle class