we don't need to assign i=0