[GREEN] Added in_range code to pass spec