added variable for projectile speed