adding detail pages