wip
make trace compile