making public pages work, using pure