added draw_tracer function