working with detail page