Working with particle systems