resolve #19 separate tracing from drawing