add show details code