added projectile spawning