impl the dynamic pages