added mainLine for projectile algo