extracting data from pages