added in var i