adding data to detail page