adding detail page