Added another spawnParticle method