Added functionality in the shouldHit method
moved a comment around