added isInRange method stub