task-25 refactor particle systems