First approach to get the trace