Added int i = 0