particle system refactoring