Creating page Generator