added range; increased code coverage