removed double i declaration