i already declare i in my code but its showing i is not found.