getting back var i