Range bug fix. Added getRange method.