view detail working