Added getPageRange method