added func to detail page
hh