more work on extract pages