got detail page working