work on page factory