Would only work on more than one page
accidentilly removed foreach