trying to make pages work