added parse detail page function