working on detail view, half done