added var i