Projectile processing code