working on detailpage