Added two more versions of spawnParticle