pull pages into render code