added condition on particle id