write pages