Playing around with variable i