draw details table