add var extension