more work on detail page