improve info parsing and loop through pages