change to multiple page structure