First version of trace, works but is wack.