Added console tracing