add trace detail