iterative

finished iterative part
still need test…