add var trace
mapping helpers