regenerating pages