add compare to each page