added shell of built in var function