adding details page implementation