finishing static pages, still buggy though.