updated for pages