new main for tracing