problem in var evaluation