works printing out page titles for all matches