modified pages to fit S2