Filled in RangeFinder.java