add simple viewdetail and add detail