implemented dynamic static pages