edited skeleton for pages