Added a constructor, range field, and getRange() method