Utils to do a trace through