add some stacktracing stuff