change var name i -> n