finished writing the particle methods