detail view works. needs formatting