edit projectile and sort code