Adding logic for reading result pages