Result-details component logic added